﻿using System.Xml;
using AspXslt.Handling;

namespace AspXslt.Handling.Samples
{
    public class LoremIpsumComponent : IComponent
    {
        public XmlDocument Execute()
        {
            XmlDocument xml = new XmlDocument();
            xml.LoadXml(@"<?xml version='1.0' encoding='utf-8'?>
<text xmlns=""urn:aspxslt:loremipsumsample"">
  <x description='Lorem' />
  <x description='Ipsum' />
  <x description='xxx!!!' />
</text>");
            return xml;
        }
    }
}